<?php

use Phinx\Migration\AbstractMigration;

class AddServiceFieldsToBusinessPartner extends AbstractMigration
{
    public function change()
    {
        $table = $this->table('business_partner');
        
        // 添加新字段
        $table->addColumn('area_desc', 'text', ['null' => true, 'comment' => '景区描述'])
              ->addColumn('service_items', 'text', ['null' => true, 'comment' => '服务项目'])
              ->addColumn('service_content', 'text', ['null' => true, 'comment' => '服务内容'])
              ->save();
    }
} 